//
//  FirCirPersonDataSource.h
//  tcpoctest
//
//  Created by gump on 5/6/13.
//  Copyright (c) 2013 gump. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FirCirPersonDataSource : NSObject
{
    NSMutableDictionary     *fcpersonDic;//个人朋友圈数据源 key为mail，object为id数组
    pthread_mutex_t         mutexfcperson;
    int                     iNewIdLength;//动态长度
    int                     iYetRead;//已经得到的newid数目
    
    NSMutableSet            *deleteIDArr;
}

@property(strong,nonatomic)   NSMutableArray          *curshowarr;//当前显示个人id数组

-(void)insertNewsIDToMail:(NSString *)mail withNewsID:(NSString *)newid withOrder:(int)io;
-(NSMutableArray *)getShowArrByMail:(NSString *)mail;

-(void)setCurshow:(NSMutableArray *)arr;
-(NSMutableArray *)Curshow;
-(void)DelCurshowArrObject:(NSString *)strid;

-(void)DelAllDic;

-(void)SetIDLength:(int)ilength;
-(int)IDLength;

-(void)SetYetLength:(int)ilength;
-(int)YetLength;

-(NSString *)CurShowObjectByIndex:(int)index;
-(void)SortCurShow;

-(void)AddDelIDArr:(NSString *)strid;
-(void)RemoveAllDelArr;
-(BOOL)IsContainInDelArr:(NSString *)strid;


@end
